package com.fire.chat.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @program: hxzq
 * @description: 日志动作类型
 * @author: xjr
 * @create: 2020-11-11 10:04
 **/
@Getter
@AllArgsConstructor
public enum LogActionType {

    /**
     * 未知类型
     */

    UNKNOWN("unknown","未知类型"),

    /**
     * 插入动作,对比POST请求
     */
    INSERT("insert","新增"),

    /**
     * 删除动作，对比DELETE请求
     */
    DELETE("delete","删除"),

    /**
     * 更新动作，对比UPDATE请求
     */
    UPDATE("update","更新"),

    /**
     * 查询动作，对比GET请求
     */
    SELECT("select","查询");






    private final String code;

    private final String msg;


}
